On Implementation of a Safer C Library, ISO/IEC TR 24731
نویسندگان
چکیده
The functions standardized as part of ISO C 1999 and their addendums improved very little the security options from the previously available library. The largest flaw remained that no function asked for the buffer size of destination buffers for any function copying data into a user-supplied buffer. According to earlier research we performed, we know that error condition handling was the first solution to security vulnerabilities, followed by precondition validation. The standard C functions typically perform little precondition validation and error handling, allowing for a wide range of security issues to be introduced in their use. ISO/IEC TR 24731, titled as"TR 24731: Safer C library functions", defines 41 new library functions for memory copying, string handling (both for normal and wide character strings), time printing, sorting, searching etc. Another innovation it brings is a constraint handling architecture, forcing error handling when certain security-related preconditions are violated when the functions are called. It also specifies the null-termination of all strings manipulated through its function and introduces a new unsigned integer type that helps preventing integer overflows and underflows. It is currently implemented by Microsoft as part of their Visual Studio 2005 and above. We examine the architecture of our implementation of ISO/IEC TR 24731. We first introduce our architectural philosophy before informing the reader about the Siemens Four View Model, an architectural methodology for the conception of large-scale software systems. Afterwards, we examine each of the view, as architected for our library. Finally, we conclude with other software engineering matters that were of high importance in the development of our implementation.
منابع مشابه
Iso / Iec Dtr 13211 – 3 : 2006
This technical report (TR) is an optional part of the International Standard for Prolog, ISO/IEC 13211. Prolog manufacturers wishing to implement Definite Clause Grammar rules in a portable way should do so in compliance with this technical report. Grammar rules provide convenient functionality for parsing and processing text in a variety of languages. They have been implemented in many Prolog ...
متن کاملC++ Needs Language Support For Vectorization ISO/IEC JTC1 SC22 WG21 N3774
Motivation for vectorization in C++ 7 Use past, current and future hardware efficiently, with C++ . . . . . . 8 Vectorization should not be hidden in a library . . . . . . . . . . . . . 8 Vectorized library components . . . . . . . . . . . . . . . . . . . 8 Vectorizing library components . . . . . . . . . . . . . . . . . . . 8 Library components wrapping vector intrinsics . . . . . . . . . . 9 ...
متن کاملVerbs & Topic Maps: A Proposal for Legal Documentation from the Document Content Analysis Perspective
A final evaluation of the project Development of a verb thesaurus for dynamic information environments. Implementation of the ISO/IEC 12350:1999 standard is presented as a base for the use of its results on future research projects. First, the interest of the Library and Information Science field towards verbal structures is justified for its efficacy on the documental analysis of the movement ...
متن کاملBenefits Resulting from the Combined Use of ISO/IEC 15504 with the Information Technology Infrastructure Library (ITIL)
This paper relates how different thoughts and experiences with ISO/IEC 15504 standard and the Information Technology Infrastructure Library (ITIL) lead to a R&D project definition for a combined use of both standards, in a SMEs adapted way. The idea is born from empirical findings emanating from several IT process improvement projects taking place in the Centre de Recherche Public Henri Tudor (...
متن کاملISO/IEC 15504 - Evolution to an international standard
This paper describes the work currently being undertaken to progress ISO/IEC TR 15504 to the status of a full International Standard, and outlines the changes in design that are to be incorporated in the revision. It describes the inputs for the design decisions that were taken; identifies the fundamental changes in the architecture of the Standard; and briefly describes the current status of t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0906.2512 شماره
صفحات -
تاریخ انتشار 2009